package Test04;

public class ProductItem {
    private int productItemId;

    private int productItemNumber;

    private int productNumber;

    private String productName;

    private double price;

    public ProductItem(int productItemId, int productItemNumber, int productNumber, String productName, double price) {
        this.productItemId = productItemId;
        this.productItemNumber = productItemNumber;
        this.productNumber = productNumber;
        this.productName = productName;
        this.price = price;
    }

    public int getProductItemId() {
        return productItemId;
    }

    public void setProductItemId(int productItemId) {
        this.productItemId = productItemId;
    }

    public int getProductItemNumber() {
        return productItemNumber;
    }

    public void setProductItemNumber(int productItemNumber) {
        this.productItemNumber = productItemNumber;
    }

    public int getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(int productNumber) {
        this.productNumber = productNumber;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "ProductItem{" +
                "productItemId=" + productItemId +
                ", productItemNumber=" + productItemNumber +
                ", productNumber=" + productNumber +
                ", productName='" + productName + '\'' +
                ", price=" + price +
                '}';
    }
}
